<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
$this->load->helper('url');
?><link rel="stylesheet" href="/static/css/sign.css" id="css_sign">
<script type="text/javascript">
$(function(){
	var _w = $(window).width();
	if(_w < 600) {
		$('#css_sign').attr('href','/static/css/m_sign.css');
	}
});
</script>

<div class="container">
  <div class="sign-main">
    
    <form action="<?php echo site_url('user/forget_check');?>" method="post" id="form_id">
    	<table cellspacing=0 cellpadding=0 border=0>
    		<tr><td colspan=2><h1><?php echo lang('sign_get_password');?></h1></td></tr>
    		<tr><td><div class="input_box"><i class="fa fa-envelope input_bg"></i><input type="text" name="email" must="1" placeholder="<?php echo lang('sign_email_warn');?>"><p><?php echo lang('sign_email_warn');?></p></div></td></tr>
    		<tr><td><div class="input_box"><i class="fa fa-key input_bg"></i><input type="text" name="email_captcha" must="1" class="captcha_input" placeholder="<?php echo lang('sign_captcha_email_warn');?>"><p><?php echo lang('sign_captcha_email_warn');?></p><span class="send_btn"><span id="send_btn"><?php echo lang('sign_captcha_send');?></span></span></div></td></tr>
    		<tr><td class="warning" style="padding:0px;"></td></tr>
    		<tr><td><button type="submit"><?php echo lang('sign_next');?></button></td></tr>
    		<tr><td colspan=2></td></tr>
    	</table>
	</form>
  </div>
</div>
<script>
$(function(){
	$('#form_id').checkForm();
	$('#send_btn').sendEmail('<?php echo site_url('tool/email_check');?>','[name="email"]','<?php echo $lang;?>');
});
</script>